package com.sfx.service;

import com.sfx.model.User;
import com.sfx.repository.UserRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


//主要是进行服务的编排和汇总
@Service
public class UserService {

    @Autowired
    private UserRepository userRepository;
    public void doUserService1(){
        System.out.println("doUserService!!!");
    }


    public User doUserService(){
        return userRepository.doUserRes();
    }

}
